Simple_History\WP_REST_Events_Controller A

Total Complexity 64
Dependencies 9
Dependents 1
Total lines 1,052
Lines of code 720
Logical lines of code 203
Comment lines 200
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
C
31 28 107
get_items()
A
39 8 68
get_collection_params()
A
34 1 128
get_item_schema()
A
35 2 110
register_routes()
S
37 1 107
create_item()
S
48 4 37
get_item_permissions_check()
S
53 4 25
get_has_updates()
S
47 3 40
update_item_permissions_check()
S
58 3 17
get_single_event()
S
63 2 11
stick_event()
S
53 1 25
unstick_event()
S
58 1 16
get_items_permissions_check()
S
64 2 10
create_item_permissions_check()
S
80 1 3
get_collection_params_for_has_updates()
S
73 1 5
get_item()
S
70 1 6
__construct()
S
73 1 5